from socket import *

udpSocket = socket(AF_INET, SOCK_DGRAM)

addrBind = ('', 57301)  # 绑定端口，ip一般不填，为本机的ip
udpSocket.bind(addrBind)  # 本地绑定

udpSocket.sendto(b"haha", ("169.254.185.69", 8080))
